added class exits detect after teardown