Patched up the stats output