fix 'Invalid parameter number' error, thx to an anonymous report

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>