started to fix the way items are placed into the inventory.