reduce usage of get_iname, use get_dinfo instead