Fix program array bug.