remove duplicated lines.