simplify line splitting