removing duplicate text