correction of used time variable