Fixed the output statistic