remove duplicate element