Try taking items by slot instead of itemname

Part two. See if it works.