Buy fees not working and only marketing wallet fees is working when selling

I have an existing token on bep20 where the fee is not working as intended. Buy fees is not working at all.. and during sell only marketing wallet fee is working. The token has like 4 different fees .

Can anyone tell me how do i rectify it in the contract as i am looking to deploy the same token on ethereum. where it should work properly!

Here's the source: https://pastebin.com/7RtaZRUi Thanks in advance!