fix(scope): fix a potential memory leak