fixed issue with name argument in Deck class