Fixed session end