another try to fix export of registry of modules correctly