fix line delimiters