removes needless submodules completely