Bugfix

Bugfix update to correct a variable misspelling.