remove duplicated element