fix reduce itemstack error