Bug fix.
Merge pull request #323 from nanan9177/blockly_fix

Bug fix.