Correct local storage errors