fix main page discounts