Method to Invert the Resistance Drift