fixed issue with card previews
handling of invalid number in deckbuilder