remove duplicate vectors