fix session to use proper session ID