fix bug
fixing avg_pace bug.