remove stuff which is not needed