fix(library/module): race condition on m_imported
fix(library/module): race condition on m_imported