Session ended bug found