fixed stats var call