fix newline warnings