errors in parser