fix bugs for index of array in desc_array()
add chap2-4