refine newline char