fixed data export bug for images