remove trailing newlines from company names