minor fix scope issue
Merge pull request #8 from nikita-yaroshevich/master

minor fix scope issue