fixing Scope::get return