fixed bug in pretty_cards method