remove stuff that is unecessary