fix bug time