tweaked error messages.