cleanup before a new ver.