rm unecessary lines