fixed view using array walk function and showing programstats when NULL