Fix cpu exception bug.