                 let leadingConstraint = alertView.leadingAnchor.constraint(equalTo: descriptionTextField.leadingAnchor)
                 let trailingConstraint = alertView.trailingAnchor.constraint(equalTo: descriptionTextField.trailingAnchor)
                 NSLayoutConstraint.activate([topConstraint, bottomConstraint, leadingConstraint, trailingConstraint])
-                descriptionTextFieldToSearchBarVerticalSpacing.isActive = false
+                searchBarToDescriptionTextFieldVerticalSpacingConstraint.isActive = false
             }
         }
     }

    @IBOutlet weak var alertTitleLabel: UILabel?
    @IBOutlet weak var alertMessageLabel: UILabel?
    
    private lazy var descriptionTextFieldToSearchBarVerticalSpacing: NSLayoutConstraint = {
        searchBar.topAnchor.constraint(equalTo: descriptionTextField.bottomAnchor, constant: 15)
    }()
    

        didSet {
            if isAlertViewHidden {
                alertView?.removeFromSuperview()
                searchBarToDescriptionTextFieldVerticalSpacingConstraint.isActive = true
            } else {
                guard let alertView = alertView else {
                    assertionFailure("alertView is nil")
