Fix wrong variable names.
Merge pull request #1 from doraTeX/bugfix

Fix wrong variable names.