local storage fixed