fixed refreshDeck