changes to error messages, thanks lio.