Oh, I think I know what's happening. The reson the = block is turning into an undefined block is because you're loading the project in an old version of snap. If you ever see an undefined block in a project that worked before, DO NOT SAVE THE PROJECT! Instead, do what @dardoro said
The reason it's turning into an undefined block, is because the block was changed in the most recent update.