another fix for the total time