       inlist = desc.inlist
 
       hanging = state.hanging
-      if hanging.present
+      if hanging
         # TODO: this just supports connecting resource; see commented below
         if o
           s = null

          rels = hanging.rels
          revs = hanging.revs
          inlist = hanging.inlist
          hanging = {present: false}
        #if not (s or o) and (desc.rels or desc.revs or desc.properties)
        #  hangingSubject = hanging.subject
        #  nextHanging

      @context = new Context(null, contexts[@profile])
      @lang = null

      @hanging = null
      @result = null
      @current = null

