fixing the card