Fix error parsing