Fix for count 0
Generate card.html