getting rid of unneded modules