Why the spline mesh segments are disconnected to one another?

Hi,

I’m creating roads based on the splines. When I assign a mesh to the spline, each segment does not connect to the next one. (please see the screenshot below)
Is there a setting I can change so that it will become one long road?
Thank you!