fix some code blocks