Fix temp queues