Minor

Scoped the unscoped local vars.