Hey guys I need some urgent help. Can't remove liquidity

I have been trying to remove liquidity of my coin but it isn't working. People told me to enable "swapAndLiquifiy" but I don't see the option to do that on bscscan. I don't know much solidity and someone did contract for me. I found this in my code:

function swapAndLiquify(uint256 contractBalance) private lockTheSwap{

    uint256 denominator = (taxes.liquidity + taxes.marketing) * 2;

    uint256 tokensToAddLiquidityWith = contractBalance * taxes.liquidity / denominator;

    uint256 toSwap = contractBalance - tokensToAddLiquidityWith;



    uint256 initialBalance = address(this).balance;



    swapTokensForBNB(toSwap);



    uint256 deltaBalance = address(this).balance - initialBalance;

    uint256 unitBalance= deltaBalance / (denominator - taxes.liquidity);

    uint256 bnbToAddLiquidityWith = unitBalance * taxes.liquidity;



    if(bnbToAddLiquidityWith > 0){

        // Add liquidity to pancake

        addLiquidity(tokensToAddLiquidityWith, bnbToAddLiquidityWith);

    }



    uint256 marketingAmt = unitBalance * 2 * taxes.marketing;

    if(marketingAmt > 0){

        payable(marketingAddress).transfer(marketingAmt);

    }



}