fix bug of product add and product detail