fix comment and remove MarkdownNodeIterator from input