local storage persist issue