by_products fix