Correct error messages.