fixed code blocks