fix newline joiner