remove and add newline