Bug fixing: ErrorException.