Fix time intervals