remove extra lines.