try to fix sync bug