replace all newlines, instead of first one