Fixed makeCard.name() function