fix typo on variable name