Fix issues with submodules.