Resolve issues in live contract on AVAX smart chain

Job ID: 32917121

Budget: £10 – £20 GBP

I have the setswapandliquifyenabled function on contract and once it is enabled, no one can sell. When it is disabled, buy and sell is possible. Problem is when it is disabled, liquidity and marketing dont get paid,.

How can i resolve this? I need to enable swap but also allow people to buy and sell without issue.

This is link to the contract: https://snowtrace.io/address/0xaab86595cfE0018E39dA12719D4C8535DebB7E5A#code