Anti-erosion scheme