added local storage save fix on load