remove dup form sorted list 2 reimpl