fix declare local.
Merge pull request #37 from hansode/fix-declare-local

fix declare local.