Fix undefined adoptee name bug