fix ag_stats for wwwadmin
Merge pull request #67 from teravest/fix_ag_stats

fix ag_stats for wwwadmin