remove dupplicates from sorted list
directory name change