fixed omitted variable declaration
Merge pull request #21 from ikwattro/var-declare

fixed omitted variable declaration