Fixed the inventory printing.