local storage fix