Improves an error message