remove unwanted submodules