remove trailing white space from names