fixed race condition for avatar when sending tweets