Baby keeps hitting head on cot

Sm

My 7 month old keeps falling over in her cot and hitting her head on the side bars. I have a mesh cot bumper which shes pulled off so I removed. Im concerned cos it sounds pretty sore and loud and she cries like shes in pain when shes hit herself. How can I stop this? Should I just give in and get proper cot bumpers?