fix time id bug