tweak to session initializer