diff --git a/templates/event-generator/adapt_member_utils.sh b/templates/event-generator/adapt_member_utils.sh
index 3d5eee0e7a8e3335530c664f5ac4ebfd9b8ecb41..e0432d82d6681ee7f1128120c35f3bc57a4a4111 100644
--- a/templates/event-generator/adapt_member_utils.sh
+++ b/templates/event-generator/adapt_member_utils.sh
@@ -125,7 +125,7 @@ in_filename = "${IC_FILE}"
 in_grid_filename = "${INPUT_GRID}"
 in_type = 2
 out_grid_filename = "${OUTPUT_GRID}"
-out_filename = "${OUTPUT_FILENAME}
+out_filename = "${OUTPUT_FILENAME}"
 out_type = 2
 out_filetype = 4
 /