Fixes typo for localstorage