remove deplicated element