Wells Fargo disclosed that a software error in its mortgage modification underwriting tool caused incorrect denials of loan modifications for approximately 870 borrowers between 2010 and 2015. The error miscalculated attorneys' fees, leading to 545 foreclosures that should not have occurred. Wells Fargo set aside $8 million for remediation and is contacting affected customers to offer compensation and mediation.