fixed unfortunate bug in Calculus & GlobalTimer