fix error messages
Merge pull request #2 from corthmann/missing_error_message_#1

fix error messages