Correction of duplicates