OS-2172: fix typo causing undeclared var