remove unnecessary newline.