fix bug in delayed_job.rb