Fix a typo
Fix a scoping bug

$scopin and $scopeout are no longer available because they used a bug
to work "properly"...