fix localstorage value