fix timestamp bug sync