When using two spline meshes, the road becomes split

Hello everyone, I’m trying to create a road with splines. But when I use two spline meshes at the same time, the road becomes split. Here’s the screenshot. Is there a way to fix this problem or do I have to create a new spline path?