Problem on My pancakeswap fork on removing liquidty

I have executed a pancakeswap fork with own router and its working but there is a problem about adding liquidty and removing . I can add liquidity but i cant remove liquidty . Is anyone could know the problem on this issue ?