fixed a bug at card.html.