remove modules in place for builtin_modules