corrections to array reference

corrections to array reference