method for improving the corrosion resistance of