   serverInit: ->
     @setMethods()
     self = @
-    @preloadData "totalPages", @call "CountPages"
+    Meteor.onConnection (connection) =>
+      connection.onClose =>
+        delete @userSettings[connection.id]
     Meteor.publish @name, (page) ->
       self.publish.call self, page, @
     Meteor.publish @name + "_data", ->

    @countPages()
    @checkQueue()

Meteor.Pagination = Pages


          options = r[1]
      else if _.isFunction r.fetch
        c = r
    if !EJSON.equals({}, filters) and !EJSON.equals(get("filters"), filters)
      set "realFilters", filters
    c ?= @Collection.find filters, options
    init = true
    self = @
    handle = c.observe
      addedAt: ((sub, doc, at) ->
        try
          doc["_#{@id}_p"] = page
          doc["_#{@id}_i"] = at
