fix typo

Closes #1859.

(cherry picked from commit 6d1ede34df619f3dbb1ec139450733095d8abbcf)