fix export import error

 see this page 
https://github.com/magic-fields-team/Magic-Fields-2/issues/189 close #189