fix average score rule