fix inventory equipping