fixed parser compile errors