minor fixes to stat print