fixed a export bug