forEach returns a promise for undefined
Markdown bug fix