error for localstorage, if change page the storage will delete.