fix inventory in load product script