remove dup from sorted list