workdir fix, queue.clear