I first changed every thing to the same layer, then double click to node edit the use node tools to connect the broken lines