fixed raven session issue