 function unlistVesting(address _vestingPlan, uint256 _listingId) external isFreeze {
        Listing storage listing = listings[_vestingPlan][_listingId];
        require(listing.status == Status.LIST, "SS_Marketplace: Listing not active");
        require(
            listing.seller == msg.sender || msg.sender == IMarketplaceSetting(marketplaceSetting).s2Admin(),
            "SS_Marketplace: Not the seller"
        );
        uint256 _penaltyFee = 0;
        if (msg.sender != IMarketplaceSetting(marketplaceSetting).s2Admin()) {
            //  3.4. The s2Admin is unable to unlist vesting
            if ((listing.listTime + IMarketplaceSetting(marketplaceSetting).minListingDuration()) > block.timestamp) {
                require(
                    (IMarketplaceSetting(marketplaceSetting).usdt()).balanceOf(msg.sender) >=
                        IMarketplaceSetting(marketplaceSetting).penaltyFee(),
                    "SS_Marketplace: Penalty fee required for early unlisting"
                ); // 3.7. Value difference caused by the same penalty fee
                (IMarketplaceSetting(marketplaceSetting).usdt()).safeTransferFrom(
                    msg.sender,
                    IMarketplaceSetting(marketplaceSetting).feeCollector(), // 3.7. Value difference caused by the same penalty fee
                    IMarketplaceSetting(marketplaceSetting).penaltyFee()
                ); //  3.6. DOS caused by the use of transfer and transferFrom functions
@>                _penaltyFee = IMarketplaceSetting(marketplaceSetting).penaltyFee();
            }
        }
        IVestingManager(IMarketplaceSetting(marketplaceSetting).vestingManager()).unlistVesting(
            listing.seller,
            _vestingPlan,
            listing.balance
        ); //  3.4. The s2Admin is unable to unlist vesting

        listing.status = Status.DELIST; // 3.3. Buyer can choose listing price
        listing.balance = 0; // 3.3. Buyer can choose listing price

        emit Delisted(_vestingPlan, _listingId, _penaltyFee, msg.sender);
    }
