fix a bug of Snatch or Dismantlement AI