Fixed session end.