Resolved bad error messages