Surgery

During bilateral adrenalectomy, intraoperative dose of hydrocoisone should be given after -