splitter fixed endlines removal and spacing