remove repeated word in doc