fix annoying assertation on number of programs