for aligning the layer connector