fix export bug