Landscape splines

Whenever i apply the spline mesh to segments it will first appear oriented the wrong way (x) and then when i flip to Y, it either places the whole thing above or below the landscape. what could be casing this?

Ive been at this for hours. Initially i baked some transforms for some meshes which are a part of the spline mesh, but it worked fine. when i went back to tweak some things, basically readjusting scales, it became like this

You can rotate the pivot of the mesh you want to attach to the spline in the modelling menu.

Modeling mode> XForm > Edit Pivot. If it is used elsewhere you can make a duplicate, since it will change the orientation of all it’s instances.