fix localstorage parse