fixing queues