fix sync