bugfix: avg is incorrect
bugfix: avg is incorrect
Merge remote-tracking branch 'weiyue/statistics' into jst