correct a typo with localStorage