fix localstorage on name change