fix links for queues when using multi_queue