correct time calc