remove duplicate text