fix issue in session storage