Reverse bad changes from foundation reinstall