fixing accidental global variable
Merge pull request #61 from jbergknoff/master

Accidental global variable