restore session backwards compatibility to 3.3