change index back to array display