delete extra lines