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

Bug fix.