added height limit to code blocks