removed waitActivations unused.