Delete some modules for switching to global module.