fix regex in last-inventoryaction