Fixed some code blocks