#397 Corrected misspelled variable name

Fixes #397 @pmeulen @jmjdamen