sanity check on error message