add other type for card
fix bug