remove word repetition