Trim spaces in name