remove duplicated lines