add ai action  crash while running