#15 Fixed export bug for xml and cvs