fixed typo with variable name