working on deactivate, improved logic around gossip state change