moving wall

in my game, there is a moving wall of poison and when my player hits it, the game will restart. It works, but it “hits the player” when the player isn’t even touching. What’s wrong?

Where is the wall of posion in the level?

@USERNAME55 where is the moving wall of poison?

sorry, i didn’t see your comment. I removed it because i was testing something. I added it back

@Tim01 it is in level 1