fix for card.h