removed clear local storage call