clean up after stop