fixed the avatar image setting command