fix bug introduced by pr #69
fix test
Merge pull request #71 from monnand/rename-var

Fix bug introduced by pr #69