fix typo

Closes #1859.