fix front matter after beautify