Fixed potential leak