handles quit when no ai used