fix bug time error