fix codeblock attribute