replace: fix typo in variable name