fixed typo error in variable name (compile error)