Fixing plan parser.