fixing scope bug
2.0.1