removing duplicate word