Minor

Left some vars out of local scope.