fixing metdata construction for config_options