fix typo, missed $ in variable name