Fix add to queue.