Fixed the program parser.