fixing newline warnings