fixed broken stats printing