Fix multiple errors tracking on parser