Correcting error messages.