Pulsing brake at Suzuki Bandit

Hello, I changed my brake lines only in spring (on Stahlfelx). I also well ventilated and tested one of my brake fluid, which was already standing in the container. Now I have the problem that my brake starts to pulsate there and there. It feels like the ABS is starting to work, but you don’t hear it work. Hand brake levers, but also the foot brake move up and down for perhaps 1-2 seconds, just like the ABS. Luckily only happened to me so far, even if the engine was off but the ignition was still on. Got me an ABS-mode switch and read out a mistake that the rear ABS sensor is dirty or defective. He was also dirty… but it still came back. Maybe someone already had a similar problem? I’m really not sure if it’s really the sensor or not a hydraulic problem, because that always comes in. For every Hil I would be very grateful. LG Rapi