fixed the sync problem

fixed the sync problem