inventory_index.ctp fixed