correct split line by line