             , onload: (ev) ->
                 # when loading successfuly, update again all other imgs
                 ev.target.parentElement.classList.remove "fallback-on"
-            div class:'initials fallback', initials
-        else
-            div class:'initials', initials
+        div class: "initials #{if image? then 'fallback'}", initials
 
 nameofconv = (c) ->
     {entity} = require './models'

        name = nameof e
        firstname = e?.first_name
        return  firstname.charAt(0) + name.replace(firstname, "").charAt(1)
    else
        return '?'


    #
    entity.needEntity(user_id) unless entity[user_id]?
    #
    # overwrites if entity is cached
    initials = initialsof entity[user_id] if entity[user_id]?
    email    = entity[user_id]?.email?[0] unless entity[user_id]?.email?[0]?
    image    = entity[user_id]?.photo_url if entity[user_id]?.photo_url?
    #
    div class: 'avatar', 'data-id': user_id, ->
        if image?
            if !viewstate?.showAnimatedThumbs
                image += "?sz=50"
            #
