avoid visit property of undefined
Merge pull request #25 from dead-horse/scope-undefined

avoid visit property of undefined