Fix use of wrong variable
Merge pull request #197 from vuntz/wrong-var

Fix use of wrong variable