preventing flange leaks