file export bug fix.