# Weird results where you cannot buy or remove liquidity... need assistance please!

**URL:** <https://forum.openzeppelin.com/t/weird-results-where-you-cannot-buy-or-remove-liquidity-need-assistance-please/37204>\
**Category:** Review Wanted\
**Tags:** erc20, bep20, etherscan-verify\
**Created:** [July 26, 2023, 1:26am UTC](https://forum.openzeppelin.com/t/weird-results-where-you-cannot-buy-or-remove-liquidity-need-assistance-please/37204 "2023-07-26T01:26:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colourman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/colourman/32/19143_2.png) [@Colourman](https://forum.openzeppelin.com/u/Colourman)\
**Post date:** [July 26, 2023, 1:26am UTC](https://forum.openzeppelin.com/t/weird-results-where-you-cannot-buy-or-remove-liquidity-need-assistance-please/37204/1 "2023-07-26T01:26:36Z")

</div>

hi, so I have been playing around with building ERC20 tokens for a couple months, and some are successful and some not, and I've really just been playing, to learn as much as I can.

But I ran into a weird scenario today where I had deployed a contract and added liquidity over PancakeSwap so it became a BEP20 token... I could sell off the tokens I kept to myself, but I could not buy tokens from the contract, at any price, even with a 49% slippage, and I could not remove my liquidity from pancakeswap... that transaction always failed... I kept a couple tokens, as this happened a couple times before and I didn't want to be screwed over again, but I have no idea why this happened... Can anyone please take a peek at my contract and tell me if they have any ideas?

Thanks in Advance!  
The contract is public on BSCscan here: 0x2Bd89039d388fE66E497943C0fd18Efe08c17c6E

> **[Temple1 | Address 0x2bd89039d388fe66e497943c0fd18efe08c17c6e | BscScan](https://bscscan.com/address/0x2bd89039d388fe66e497943c0fd18efe08c17c6e#code)**
>
> The Contract Address 0x2bd89039d388fe66e497943c0fd18efe08c17c6e page allows users to view the source code, transactions, balances, and analytics for the contract address. Users can also interact and make transactions to the contract directly on...

---

<div class="post-metadata">

**Author:** ![Colourman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/colourman/32/19143_2.png) [@Colourman](https://forum.openzeppelin.com/u/Colourman)\
**Post date:** [July 26, 2023, 1:33am UTC](https://forum.openzeppelin.com/t/weird-results-where-you-cannot-buy-or-remove-liquidity-need-assistance-please/37204/2 "2023-07-26T01:33:13Z")

</div>

In advance of anyones questions, there is a maxholderpercentage of 10% to try to prevent whales.  
It is pauseable, but was not paused.  
There is buy, sell, and transfer tax on it, but all set to 0.  
There is a 5% "PartyFee", just messing around with that. and there is a whitelist called a waterlist that, if you're on it, has no fees or taxes or restrictions applied to those holders, or the owner.
