editing how teardown behaves