Bug fix for location

Tags with spaces would cause the UI to break