       
       filters = get "filters"
       
-      options = 
+      options =
         sort: get "sort"
         fields: get "fields"
         skip: skip

      helpers = pagesData: @
      _.each Template[i].__helpers, (helper, name) =>
        if name[0] is " "
          helpers[name.slice(1)] = _.bind helper, @ 
      Template[tn].helpers helpers
      
    # Set our helpers on the main template set for this pagination  

  setId: (name) ->
    if @templateName
      name = @templateName
    name = name.replace(".","_")
    while name of Pages::instances
      n = name.match /[0-9]+$/
      if n?
