fixed a bug of data export