stats: fixing generation