getInventory spacing cleanup