modify worker.rb