remove double element