fix bugs with sync process