removing unecessary classes