Remove unecessary lines