fixed variable name mismatch
Merge pull request #3 from bricecarpentier/master

fixed variable name mismatch