Fix some issues related to code block node.