reset localstorage on corruption