added connector deactivated handlers