Fixed 'typo'.

I'm almost certain you didn't mean to use a global variable.
Merge pull request #372 from Danack/patch-2

Fixed 'typo'.