fix gen metadata geolocation