removing unneeded modules