fix unclosed code block