Fixed. the variable "stats" is deleted.