stop global namespace pollutions
avoid a repeated variable declaration
Merge pull request #1 from hidekiy/master

ちょっとした修正案