localstorage workaround 1