Remove lines 466 and 467 above, you don't need to save off the old values.