fixed error with timeCalculator