fix metadata.json file