Fix wrong error message
Merge pull request #370 from scrollback/smallfixes

Fix wrong error message