   loadDir= (dirname,superMeta,visited) ->   #recursive
     defaultModName = path.join(dirname,'_default.meta')
     meta= if isModuleSync(defaultModName)
-      cache[dirname+'/']= load(defaultModName,superMeta)
+      metacache[dirname+'/']= load(defaultModName,superMeta)
     else
       superMeta
     for filename in fs.readdirSync(dirname)

    (r['lineage_']= ((base['lineage_']||[])).slice(0)).push(name)
  r

cache= {}

meta_lookup= (name,from)->
  from||= cache
  descend= (name)->
    if from[name]
      return from[name]

          if moduleSignature.test(filename)
            stripped= stripExtension(filename)
            if metafileSignature.test(filename)
              metacache[filename.replace(stripMetaExtension,'$1')]= load(stripped,meta)
            else
              modules.unshift(stripped)
    return meta
  visited= {}
  visited[fs.lstatSync(rootdir).ino]= true
  metacache[rootdir+'/']= superMeta  # this will be overridden if _default_meta found
  meta= loadDir(rootdir,superMeta,visited)
  preload(modules,meta,supersites)
  return meta
