remove whitespace round names so that they capitalise correctly.