fix typo in variable name set by param