fix for cart issue and coupon issue