fixed localStorage related typos