fix dump_markdown undefined prepend bug