clear old code