fixed 'undefined variables in initializer' error
Merge pull request #3 from hkairi/master

fixed 'undefined variables in initializer' error