fixed bad code block