     #   for url in urls
     #     length -= url.length
     #     length += 10
-    @$length.text "#{length}/62"
-
-  _setFocus: -> @$writing.focus()
+    @setState {length}
 
   _validateAudiPart: (a) ->
+    a = a.trim()
     # if a[0] isnt "~"
     #   return false
     if a.indexOf("/") isnt -1

      ship = _a[0]
    else
      ship = a
    if ship.length < 3
      return false
    return true

  _validateAudi: ->
    v = $('#audi').text()

    div {className:k}, [
      (div {className:"attr"}, [
        (React.createElement Member, iden)
        (React.createElement Audience, {audi,valid:@state.valid, onBlur:@_setAudi})
        (div {className:"time"}, @getTime())        
      ])
      (div {
          id:"writing"
          contentEditable:true
          onPaste: @onInput
          @onInput, @onFocus, @onBlur, @onKeyDown, @onKeyUp
        }, "")
       (div {id:"length",className:("valid-false" if @state.lengthy)}, "#{@state.length}/62")
      ]
