Export csv fix, confirm database deletion