fixed design statistics query
Merge pull request #138 from cloudspokes/james-mem-stats-fix

fixed design statistics query