fixed guild stats impl - memory leak on subexpressions