     #   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

      return true
    if v.length < 5 # zod/a is shortest
      return false
    v = v.split " "
    for a in v
      a = a.trim()
      valid = @_validateAudiPart(a)
    valid

  _setAudi: ->
    valid = @_validateAudi()
    StationActions.setValidAudience valid
    if valid is true
      v = $('#audi').text()
      if v.length is 0 then v = window.util.mainStationPath window.urb.user
      v = v.split " "
      for k,_v of v
        if _v[0] isnt "~" then v[k] = "~#{_v}"
      StationActions.setAudience v
      v
    else
      false


      ship = _a[0]
    else
      ship = a
     
    return (SHIPSHAPE.test ship) and 
      _.all (ship.match /[a-z]{3}/g), (a)-> -1 isnt PO.indexOf a

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