Clean-up code

Localize one variable I missed last commit