session init bugfix2