getting rid of modules not needed for profile