fixed issues in deckbuilder