Fixed $exceptionHandler issue