fixed bad teardown copypasta