improve TaskQueueArray