diagnosing voltage leaks