clear old version