fix line terminator