Remove duplicate word in return string