Why are there twists in Roadlike top Sweep 1 rail

Why do these twists appear?

The fix is:

Use the option to ‘Set Axis’ during the Sweep 1 rail command and then set the axis to the centerline of the helix.