fixes the error of creating a deck with no card. Troy