Fix bug with avatar image