capitalize error messages