tiny fixes

- fix typo in a message
- fix index of arguments