correction of time data