fix compat bundles's import and export