       START kd=node:koding("id:#{groupId}")
       MATCH kd-[:member]->users<-[r:user]-apps
       WHERE apps.name="JApp"
-      and r.createdAtEpoch < #{startDate}
+      and r.createdAtEpoch < {startDate}
       return users, apps, r
       order by r.createdAtEpoch DESC
       limit 20
       """
 
-    @db.query query, {}, (err, results)=>
+    @db.query query, {startDate}, (err, results)=>
       if err
         console.log ">>> err fetchNewInstalledApps", query, err
-        callback err
+        return callback err
       @generateInstalledApps [], results, callback
 
   generateInstalledApps:(resultData, results, callback)->

    query = """
      start  koding=node:koding("id:#{groupId}")
      MATCH  koding-[r:member]->members
      where  r.createdAtEpoch < #{startDate}
      return members
      order by r.createdAtEpoch DESC
      limit 20
      """

    @db.query query, {}, (err, results) ->
      if err
        console.log ">>> err fetchNewMembers", query, err
        callback err, null
      resultData = []
      for result in results
        data = result.members.data

      start koding=node:koding("id:#{groupId}")
      MATCH koding-[:member]->followees<-[r:follower]-follower
      where follower<-[:member]-koding
      and r.createdAtEpoch < {startDate}
      return r,followees, follower
      order by r.createdAtEpoch DESC
      limit 20
    """
    @fetchFollows query, startDate, callback

  fetchTagFollows:(group, startDate, callback)->
    #followers
