Fixed . issues on line-splitting