updating pointers to submodules
fix for undefined variable
update pointers to submodule