If the court in the foreclosure case accepted the substitution of parties, then the error has been corrected.