diff --git a/tools/fet/fet.py b/tools/fet/fet.py
index 1f5602570f7b374f30141923c66d56349cec4f3c..e726e2051345c331ccb9b030470dfe6139f2e381 100644
--- a/tools/fet/fet.py
+++ b/tools/fet/fet.py
@@ -23,7 +23,7 @@ if not os.path.exists(path_sc):
 	os.makedirs(path_sc)
 
 files_gt = [ f for f in listdir(path_gt) if isfile(join(path_gt,f)) ]
-files_fg = [ f for f in listdir(path_gt) if isfile(join(path_gt,f)) ]
+files_fg = [ f for f in listdir(path_fg) if isfile(join(path_fg,f)) ]
 
 TP = .0 # True positive pixels
 FP = .0 # False positive pixels