fixing up sessionStorage