fix line splitting on windows