fix sync duplicates