fixed the session storage