improving the error message