modify aveStats to never show NaN