fix sync bug.
test sync.