bug fix in import and export module