fixed inventory behaviour