parsing error messages works