fixed graph and workout_times 0 error