Fixed race condition in Activation.