fixed up gao_set_config thanks to Eric!