Clean up error messages.