     #@queue.push page
     @logRequest page
     Meteor.defer ((page) ->
-      @subscriptions[page] = Meteor.subscribe @name, page,
+      @subscriptions[page] = Meteor.subscribe @id, page,
         onReady: ((page) ->
           @onPage page
         ).bind @, page

        
    # Publish the collection that we're paginating, taking a page number as a parameter.
        
    Meteor.publish @name, (page) ->
      self.publish.call self, page, @
  
  # Client initialisation

      if Meteor.isServer and @fastRender
        self = @
        FastRender.route pr, (params) ->
          @subscribe self.id, parseInt params.page
        FastRender.route @homeRoute, ->
          @subscribe self.id, 1    
  
  setPerPage: ->
    @perPage = if @pageSizeLimit < @perPage then @pageSizeLimit else @perPage
