Remove repetition of a word