fix logic error in _add_processor()