Fixed time not synced correctly, thanks to cyrq