minor cleaning in ingest