correct bug on locations ingest