fix metafiles