take metadata from main_module.