fixing typo that breaks local storage