fix metadata version