remove stuff that is not used