fix typo in variable declaration