fixed stats bug