removed product-loop bug