Fixed submodule init procedure