Water puddle material does not disappear when painted by other material

people I have a doubt here, I made a painting material for landscape in this material I made a puddle of water and also own a SlopeMask count I have grass, stone and earth texture. until then everything is fine if I paint the landscape with my material Slope works normally, and if I paint with the material of puddle of water also works normally, but the problem and that when I paint the scenery with the puddle of water and then I try to paint other material over the puddle she did not add the right would be to disappear so that my other material appeared in case this material would be the ‘Grass_Automatic’ which is what shows in the image below realize that I am with both materials working the only problem would be my puddle of water I would have to disappear when I painted her with other material, can someone give me a help? I hope I have managed to explain well.
Here are some prints of the material where you have the slope + puddle of water.