Fixed exception in parser.