fixed bug in wit-worker.rb