missing var declaration
Merge pull request #221 from diwu1989/master

missing var declaration