fix broken tear down