fix critical bug in session display