 
     # Load the component for the process.
     @load node.component, node.metadata, (err, instance) =>
-      return callback err if err
+      if err
+        callback err
+        return
       instance.nodeId = node.id
       process.component = instance
       process.componentName = node.component

          connection.from.process.component.outPorts[connection.from.port].detach connection
      @connections.splice @connections.indexOf(connection), 1
      do callback

  addDefaults: (node, options, callback) ->
    if typeof options is 'function'

        when 'data'
          @bufferedEmit 'data', payload
          return
    return

  # ## Loading components
  #
