             q: query.text
             limit: this.get_opt("limit")
           callback = $.proxy(this.render_view, this
-          @callbacks['remote_filter'].call(this, params, callback))
-        else if (data = @callbacks['filter'].call(this, query.text, origin_data, search_query)
+          this.callbacks('remote_filter').call(this, params, callback))
+        else if (data = this.callbacks('filter').call(this, query.text, origin_data, search_query)
             this.render_view data
         else
             @view.hide()

        @$inputor = $(inputor)
        @mirror = new Mirror(@$inputor)
        @view = new View(this, @$el)
        this.setup_callback_methods()
        this.listen()

      setup_callback_methods: ->
        @callbacks = $.extend {}, DEFAULT_CALLBACKS, this.get_opt("callbacks", {})

      listen: ->
        @$inputor


        query = ""
        $.each this.settings, (flag, settings) =>
          query = this.callbacks("matcher").call(this, flag, subtext) || ""
          @current_flag = flag
          return false

