sessionStorage.getItem bug fixed