fix bug this out scope
Merge pull request #313 from alexandref93/master

fix bug this out scope