Fixed total time bug