Fixed QueueThread