Fix duplicates.