Issues with Flatten Brush

Hi, this is my first post on this forum and i’d like to know if anyone knows what’s causing this issue with the flatten brush:

tried messing around Unreal but couldn’t fix it, restarting UE didn’t work either.

edit: I found the culprit. There were 2 layers on landscape mode, idk how the second one was created, but they were both being used for the same terrain, flatten brush was considering this second layer when editing the first one, deleting the second layer fixed my problem