minor improvement for an error message