rechanged local-storage to localStorage