bugfix: missing function call in name
diff --git a/scripts/training/pipeline.pl b/scripts/training/pipeline.pl
index b6664c5..ceb1786 100755
--- a/scripts/training/pipeline.pl
+++ b/scripts/training/pipeline.pl
@@ -492,8 +492,8 @@
 	$TRAIN{target} = "train/corpus.$TARGET";
 
 	# now extract the leaves of the parsed corpus
-	$cachepipe->("extract-leaves",
-				 "cat $TRAIN{parsed} | perl -pe 's/\(.*?(\\S+)\)+?/$1/g' | perl -pe 's/\)//g' > $TRAIN{target}",
+	$cachepipe->cmd("extract-leaves",
+                 "cat $TRAIN{parsed} | perl -pe 's/\\(.*?(\\S\+)\\)\+?/\$1/g' | perl -pe 's/\\)//g' > $TRAIN{target}",
 				 $TRAIN{parsed},
 				 $TRAIN{target});