remove a repetition