Delete extra lines