fix Session.init not being called issue