the previous owner on my car has cut into the original pipe and stuck a d/v there lol. its running poorly

. Should i just bin the d/v and get a normal pipe or get a fitting kit and see how it goes? its a bailey dump valve dont know if its a twin piston one.