fixed bug of timesync