Bug fixes for set_conf work