Corrected errors in parser.