refactor($location): remove redundant spaces