ingest and refresh fixes