cleanup newlines