clean up frontmatter