fix for recent gstats commit