Twisted solid form at one point in Revit

At a certain point, the solid form tend to be twisted, any idea where is the issue? Is this an issue of form.byloftcrosssections? I manualy tried to create solid form in revit by selecting all profile and curve line, and it was fine.