safety check for the card type info