fix #21 scope root variables are not bound

This pull request fixes issue #21.