Fix crash with new allocation
Revert "Improve error when generate/block has no label"

This reverts commit 3700fe52872ca6d57fa6a5b29d7b0511162a56e4.