     ], (err) =>
         if not err
             sync_strings[opts.string_id] = S
+        cbs = sync_string_cbs[opts.string_id]
         delete sync_string_cbs[opts.string_id]
         for cb in cbs
             if err

DEFAULT_PORT = 6001    # also hard coded in admin.py

###
x={};require('syncstring').client(debug:true, cb:(e,s)->console.log('done',e);x.s=s;x.s.syncdb(string_id:'c26db83a-7fa2-44a4-832b-579c18fac65f',cb:(e,t)->console.log(e);x.t=t));0
###

###

        opts.cb(undefined, S); return

    if sync_string_cbs[opts.string_id]?
        winston.debug("get_syncstring -- getting string_id=#{opts.string_id} -- already doing it")
        sync_string_cbs[opts.string_id].push(opts.cb)
        return
    else
        sync_string_cbs[opts.string_id] = [opts.cb]

    S = new SynchronizedString(opts.string_id, opts.max_len)
    async.series([
