simplify SEH code