fixed inventory glitches