Delete unnecesary lines