final cleanup before release