add judgment for retaining m_actionSpawn