fix #4165: avatar no longer recognized