minor fixes

- fix error message, missing space
- add missing documentation