[hotfix] scope fix

Resolves #789