[fix] proof validty of localstorage