Fix time helper