fix undefined variable because of re-structuring, thx Dessa

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