adjust duplicates