fix error creating new deck