Trim blank spaces