removing unecessary items