diff --git a/backend/escl/escl_newjob.c b/backend/escl/escl_newjob.c
index 98a953fdf..7c271bbdb 100644
--- a/backend/escl/escl_newjob.c
+++ b/backend/escl/escl_newjob.c
@@ -62,7 +62,6 @@ static const char settings[] =
" %d" \
" %d" \
" %s" \
- " %s" \
"%s" \
"%s" \
"";
@@ -260,7 +259,6 @@ escl_newjob (capabilities_t *scanner, const ESCL_Device *device, SANE_Status *st
scanner->caps[scanner->source].default_resolution,
scanner->caps[scanner->source].default_resolution,
source,
- source,
duplex_mode[0] == 0 ? " " : duplex_mode,
support_options[0] == 0 ? " " : support_options);
upload->memory = strdup(cap_data);