Fix for metadata files