fix for discover card type check