Fixed detecting as submodules