fix bug for products