           find:
             discussionId: @discussion.id
           simplesort: 'id'
-          limit: @padding
+          limit: limit || @padding
         remote:
           discussion_id: @discussion.id
           order_by: 'position_key'
-          per: @padding
+          per: limit || @padding
     else
       @addRuleAndFetch
         name: "load children (prefix #{event.positionKey})"

        discussion_id: @discussion.id
        per: 1000

  loadChildren: (event) ->
    @loading = 'children'+event.id
    if event.kind == "new_discussion"
      @addRuleAndFetch

            discussionId: @discussion.id
            positionKey: {'$regex': "^#{event.positionKey}"}
          simplesort: 'positionKey'
          limit: limit || @padding
        remote:
          discussion_id: @discussion.id
          position_key_sw: event.positionKey
          depth_gt: event.depth
          order_by: 'position_key'
          per: limit || @padding

  addLoadAfterRule: (event, limit = null) ->
    # keys = event.positionKey.split('-')
    # num = parseInt(keys[keys.length - 1]) + 1
    # key = "0".repeat(5 - (""+num).length) + num
