minor corrections

Fixed some conformance issues in the parser.