fix bugs

fix the bug of history_avg_score not changing