made fixes to ensure TSV ingest working properly