replace exception bugs.