Delete unneded lines