fixed no "tear down" bug