remove 2 duplicate entries in the dictionary