Sweep cross section along path BSpline Surface FromRailAndSweptSectionView Setting

I have attempted to sweep a profile along a curve (3D curve) and i got this weird looking twisted monster. 

How do i toggle the settings such that the profile extruded follows the shape from both side? 

also, what do those technique inputs do?