Remove repeated element