cleanup before public test