some necessary changes for AvatarData transmission