Fix func to save deck name