Landscape messing with materials

I’m using UE4.26.2. I’m having a problem with my third landscape material. When I use only 2 materials all works good, but when I paint with the third the landscape gets crazy and mix two materials. I wanna make biomes, so I need to paint 3 or 4 different materials next to each other, but I can’t figure out how to solve this.
My max painted layer per compoent actually is 5.

UE3 here <3