now able to merge splitted lines