diff --git a/nerval/evaluate.py b/nerval/evaluate.py
index de56dd6e82448cadfc5df6a4f10374d7476e8ac5..e14561e58cd337040c2418c6fd1994e631f372fb 100644
--- a/nerval/evaluate.py
+++ b/nerval/evaluate.py
@@ -1,18 +1,16 @@
 # -*- coding: utf-8 -*-
 
 import argparse
+import glob
 import logging
 import os
 import re
+from pathlib import Path
 
 import editdistance
 import edlib
-import termtables as tt
-
-import glob
-from pathlib import Path
 import pandas as pd
-
+import termtables as tt
 
 NOT_ENTITY_TAG = "O"
 
@@ -86,6 +84,8 @@ def parse_bio(path: str) -> dict:
         try:
             word, label = line.split()
         except ValueError:
+            print(index)
+            print(line)
             raise (Exception(f"The file {path} given in input is not in BIO format."))
 
         # Preserve hyphens to avoid confusion with the hyphens added later during alignment