replace $_ to lexical
Merge pull request #6 from masaki/fix-scope-value

replace for loop $_ to lexical variable