fixed QueueLogger bugs