Fixed core restartAll issue