some small changed to the queue manager