fixed error caused by Deck being created with Deck(Deck) instead of Deck(list)