changed @worker.params.reset to params.reset