fixes for wrong named/used variables

simple fix for misspelled variable name