Fixed up line split util functions.