     ###
     getObject: (uid) ->
       if Meteor.neo4j.allowClientQuery == true and Meteor.isClient or Meteor.isServer
-        cache = Neo4jCacheCollection.find(uid: uid)
+        cache = Meteor.neo4j.cacheCollection.find(uid: uid)
         if Meteor.isServer
-          if Neo4jCacheCollection.findOne(uid: uid)
-            Meteor.neo4j.resultsCache['NEO4JRES_' + uid] = Neo4jCacheCollection.findOne(uid: uid).data
+          if Meteor.neo4j.cacheCollection.findOne(uid: uid)
+            Meteor.neo4j.resultsCache['NEO4JRES_' + uid] = Meteor.neo4j.cacheCollection.findOne(uid: uid).data
           cache.observe
             added: (doc) ->
               Meteor.neo4j.resultsCache['NEO4JRES_' + uid] = doc.data


    @check query
    uid = Package.sha.SHA256 query
    cached = Neo4jCacheCollection.find uid: uid
    if cached.fetch().length == 0 or @isWrite(query)
      if Meteor.isServer
        @run uid, query, opts, new Date

    #
    ###
    put: if Meteor.isServer then ((uid, data, queryString, opts, date) ->
      Meteor.neo4j.cacheCollection.upsert { uid: uid }, {
        uid: uid
        data: Meteor.neo4j.parseReturn(data, queryString)
        query: queryString
