fixed NodeStats template and data structure