misnamed variables.

it would help if I renamed the variables properly before committing the code.
Should resolve latest reports in issue #53