Removing unwanted lines.