fixed bug in show session dlg