fix overallTime calculation