fixes for card