further refinement to wetted perimeter bug fix