drop junk newlines