fixed localstorage issues
saved index