fix a typo and change response structure of GET /locations