Deck creation fix