refactor find_conf_by_address a bit