fix for product_to_store not working in install sql