fix index of workouts