fix for listLocations call