fix sync function