some cleanup in mix_config_pg