Fixed 'typo'.

I'm almost certain you didn't mean to use a global variable.