Fix stats output