remove unique constraint from CSV generation (memory leak)