Fix time format on second running