fixed the card display error