fix teardown setup