exception bug patch