fix average decimal rounding