clean up
fixing get_time in syncing thread