Correcting an erroneous foundation