Fail to align curves frames and perp frames lead to item selection issue

Dear all,
I divided a 3d curve with several points, and didn’t manage to align curves frames and perp frames along that curve at the points locations.

1/ Here is the issue I have with the curve frames (not aligned where the curve is flat):

2/
fail to align planes.gh (20.3 KB)
I use the perp frames to construct circles CNR, but as the perp frames are not oriented the same, I fail to select the control point I want on every circles (the one on left side of the curve):

Like this ?

For the curve frames, better if you reconstruct them from the Perp Frames.

fail to align planes.gh (15.2 KB)

magic
THX