avoid php notice, missing credit_card_type index