fixed order of teardown