reinstate exception handler