fix: don't raise exception in get_address_index