rewrote system control break exception handler