fixes to portage_config state