Fixed a few error messages.