fixed averageStats template
Merge pull request #148 from jamesyothers/master

fixed averageStats template