remove usage of dispatch_get_current_queue.