 
         // Generate a unique download id to check whether the active request has changed while downloading
         let downloadID = NSUUID().UUIDString
-        currentDownloadID = downloadID
+        af_activeDownloadID = downloadID
 
         // Download the image, then run the image transition or completion handler
         let requestReceipt = imageDownloader.downloadImage(


                guard
                    strongSelf.isURLRequestURLEqualToActiveRequestURL(response.request) &&
                    currentDownloadID == downloadID
                else {
                    return
                }

        get {
            return objc_getAssociatedObject(self, &AssociatedKeys.ActiveRequestReceiptKey) as? RequestReceipt
        }
        set(receipt) {
            objc_setAssociatedObject(self, &AssociatedKeys.ActiveRequestReceiptKey, receipt, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        }
    }

    var af_activeDownloadID: String? {
        get {
            return objc_getAssociatedObject(self, &AssociatedKeys.ActiveDownloadIDKey) as? String
        }
        set(downloadID) {
            objc_setAssociatedObject(self, &AssociatedKeys.ActiveDownloadIDKey, downloadID, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        }
    }

