time interval fix