Fix the metafile part