fix scoping
Merge pull request #2 from monteslu/scoping

fix scoping