repair Yaml frontmatter