fix inventory release