fix an issue with an error message