Fix time printing