fix bad error message no one ever saw