removing trailing spaces, lower case for company names