fix smart promotion for /discounts/discount/