fix typo in code; fixes #17030