Inventory fixes

fixed a bug where inventory would have 0 of some item