Fixed bug in parser.