Fixed Program model bug