exception handlers, ie8 fixes