fixed error with memory stat missing