fix avatar display for user detail html