Fix on exception handling.