Getting rid of bad submodules