fix bug where locations have a space in the name