Fixed bug in Card.