removing async globals