check field and instance references in parser