Remove repetition of words