Fix parsing programs.