fixed time adjustment bug