Bug fixes on stat meta data