Fix stats initialization