Effect of machining configuration on the corrosion of mild steel