remove all the unecessary