fix ∞ loop  on exception replace.