removed unused legacy_callback_func (nw)