Fix time range