remove repetition in split