Fix time macro