modules: initialize return pointer to NULL