fix adding products to database