   else
     graphPath = path.resolve __dirname, '../../components/Graph.coffee'
   loader.registerComponent null, 'Graph', graphPath
+  return
 
 exports.register = (loader, callback) ->
   manifestOptions = manifestLoader.prepareManifestOptions loader
 
   if loader.options?.cache
     manifestLoader.listComponents loader, manifestOptions, (err, modules) ->
-      return callback err if err
+      if err
+        callback err
+        return
       registerSubgraph loader
       callback null, modules
+      return
     return
 
   dynamicLoader.listComponents loader, manifestOptions, (err, modules) ->
-    return callback err if err
+    if err
+      callback err
+      return
     registerSubgraph loader
     callback null, modules
+    return
+  return
 
 exports.dynamicLoad = (name, cPath, metadata, callback) ->
   try

          code: JSON.stringify component.toJSON()
          language: 'json'
        return
      return callback new Error "Can't provide source for #{name}. Not a file"
    fbpGraph.graph.loadFile component, (err, graph) ->
      return callback err if err
      return callback new Error 'Unable to load graph' unless graph
      callback null,
        name: nameParts[1]

        name = componentName
        break
    unless component
      callback new Error "Component #{name} not installed"
      return

  nameParts = name.split '/'
  if nameParts.length is 1
