simplify error messages