attempt to improve parsing error message