stats_utils: more debug output