adding default exception handler