fix default exception handler