fix bug when the product is on magento