add remove duplicate from sorted list