         $ul.find("li:eq(0)").addClass "cur"
 
 
-    _DEFAULT_TPL = "<li id='${id}'>${name}</li>"
+    _DEFAULT_TPL = "<li data-value='${name}'>${name}</li>"
 
     log = () ->
         #console.log(arguments)
 
     $.fn.atWho = (flag, options) ->
-        AtView.init()
-        @.filter('textarea, input').each () ->
-            $this = $(this)
-            data = $this.data "AtWho"
-
-            $this.data 'AtWho', (data = new At(this)) if not data
-            data.reg flag, options
+      @.filter('textarea, input').each () ->
+        $this = $(this)
+        data = $this.data "AtWho"
+
+        $this.data 'AtWho', (data = new At(this)) if not data
+        data.reg flag, options
 
     $.fn.atWho.default =
         # Parameter: choose

      data_refactor: (data) ->
        $.map data, (item, k) ->
          if not $.isPlainObject item
            item = {id:k, name:item}
          return item



        ## so that we could append different value to the input other than the value we searched in
        data: null
        search_key: "name"
        callbacks: {}
        cache: yes
        limit: 5
