fixed stats output