Corrects a misspelled variable name

@eric79 
Fixes a typo.