fix a linesep problem