Fixing bug #10173
Better variable name
Merge pull request #156 from Jako/master

Fixing bug #10173