change the ranking avg calcul