local storage tweaked