fixed thin error that broke render_markdown function