export bug fix