fix bug in Markdown Helper