try to resolve Markdown NullReferenceException problem (concurrency bug?)