clean up after the generator