     if @inPorts[port].isAddressable()
       portname = "#{port}[#{idx}]"
     # Ensure we have a bracket context for the current scope
-    @bracketContextIn[portname] = {} unless @bracketContextIn[portname]
-    @bracketContextIn[portname][scope] = [] unless @bracketContextIn[portname][scope]
-    return @bracketContextIn[portname][scope]
+    @bracketContext.in[portname] = {} unless @bracketContext.in[portname]
+    @bracketContext.in[portname][scope] = [] unless @bracketContext.in[portname][scope]
+    return @bracketContext.in[portname][scope]
 
   addToResult: (result, port, ip, before = false) ->
     if port.indexOf('[') is -1

    @ordered = options.ordered ? false
    @autoOrdering = options.autoOrdering ? null
    @outputQ = []
    @bracketContextIn = {}
    @activateOnInput = options.activateOnInput ? true
    @forwardBrackets = in: ['out', 'error']


    return unless @started
    inPorts = @inPorts.ports or @inPorts
    inPort.clear() for inPort in inPorts
    @bracketContext =
      in: {}
    callback = =>
      @started = false
      @emit 'end'
