     ###
     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

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

      if Meteor.neo4j.allowClientQuery == true and Meteor.isClient
        if callback
          Tracker.autorun ->
            result = Meteor.neo4j.cacheCollection.findOne(uid: uid)
            if result and result.data
              callback and callback null, result.data
      else
        if callback
          if !Meteor.neo4j.cacheCollection.findOne(uid: uid)
            Meteor.neo4j.cacheCollection.find(uid: uid).observe added: ->
              callback null, Meteor.neo4j.cacheCollection.findOne(uid: uid).data
          else
            callback null, Meteor.neo4j.cacheCollection.findOne(uid: uid).data
      Meteor.neo4j.cache.getObject uid

    ###
