fixed Markdown undefined error
updated