Fix the metadata version grabbed