replace "nextblock" labels in br with label of next block
fix for-loop
branch to next block after for