Cleanup trailing spaces