patch to allow queues that do not start at root