fix issues with Markdown incompatibilites