Fixes a bug with executing blockly