fix bug that erased explicit codeblock