fixed bug with show_cards method