delete extra lines.