Fixed runaway code block