somehow improve parsing errors logging