fix card.rb