fixed more submodule bugs