fix bug caused by not counting pruned programs