minor code cleanup of sadie_session