fix typo with variable name