add parser errors management