fix on error parsing [applied after resync]

it is not a good error message/code. I just did not know hot set them.