fix file export error