time sync bug fix