fix deck deleting