fixes cb_name in polymorphic case