fixed bug with product id setting