fixes to make decks work