fix product_detail errors on create/update product