                 self.fadeOut()
             })
         }else {
-            if isOnHoldQueueEnabled {
+            if SMToast.isOnHoldQueueEnabled {
                 SMToast.onHoldQueue.add(toast: self)
             }
         }

        }, completion: { (_) in
            self.removeFromSuperview()
            SMToast.activeQueue.remove(toast: self)
            if self.isOnHoldQueueEnabled {
                self.checkHold()
            }
        })

    fileprivate static var onHoldQueue = SMQueue()

    //MARK: - Configuration Variables
    static public var isOnHoldQueueEnabled = false
    static public var isActiveQueueEnabled = false
    fileprivate let cornerRadius: CGFloat = 15
    fileprivate var title: String = ""
    fileprivate var message: String = ""
