Fix variable name error

There seems to be an historical variable name in the code. This pull request should fix it up :-)