diff --git a/lib/queue/job.js b/lib/queue/job.js
index <HASH>..<HASH> 100644
--- a/lib/queue/job.js
+++ b/lib/queue/job.js
@@ -411,13 +411,14 @@ Job.prototype.attempt = function (fn) {
         , id = this.id
         , key = 'q:job:' + id;
 
-//    client.hsetnx(key, 'max_attempts', 1, function () {
+    //TODO this now can be removed, since max_attempts is set in the constructor
+    client.hsetnx(key, 'max_attempts', 1, function () {
         client.hget(key, 'max_attempts', function (err, max) {
             client.hincrby(key, 'attempts', 1, function (err, attempts) {
                 fn(err, Math.max(0, max - attempts), attempts, max);
             });
         });
-//    });
+    });
 
     return this;
 };
postpone removing of hsetnx max_attempts on every attempt call