Erosion program pays to repair flood damage